package com.practicesuite.systemlayer;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;

/**
 * Doctor Class
 * @author ronaldbrown
 *
 */
public class Doctor extends User implements Serializable{
    public Doctor() {
        
    }

	/**
	 * 
	 * @param name
	 * @param eUID
	 * @param userID
	 * @param dateOfBirth
	 * @param address
	 * @param phoneNumber
	 * @param gender
	 * @param age
	 */
	public Doctor(String name, int eUID, int userID, Date dateOfBirth, String address, String phoneNumber, 
			String gender, int age, String emailAddress, boolean suspended) {
		//Call super class
		super(name, eUID, userID, dateOfBirth, address, phoneNumber, gender, age, emailAddress, suspended);
	}
	

	public DoctorOrder createDoctorOrder(Collection<Prescription> pList, Collection<String> labWorkPreformed
			, String followUpInstructions, String otherInstructions ) {
		return new DoctorOrder(pList, labWorkPreformed, followUpInstructions, otherInstructions, this.getUserID(), 999);
	}
	
	/**
	 * Modify Doctor's Orders
	 * @param doctorOrder Doctor Order to be modified
	 */
	public void modifyDoctorOrder(DoctorOrder doctorOrder) {
		
	}
	
	/**
	 * 
	 * @return String representation of the report
	 */
	public String generateReport() {
		return null;
	}


    @Override
    public String toString() {
        return "Doctor [toString()=" + super.toString() + "]";
    }
}
